//
//  UserInfoViewController.swift
//  SidebarMenu
//
//  Created by LiangXiaobin on 2017/1/23.
//  Copyright © 2017年 AppCoda. All rights reserved.
//

import UIKit

class UserInfoViewController: UIViewController {
    
    @IBOutlet weak var nameLabel: UILabel!
    @IBOutlet weak var rightBtn: PsButton!
    @IBOutlet weak var middeBtn: PsButton!
    @IBOutlet weak var leftBtn: PsButton!
    @IBOutlet weak var headerImage: UIImageView!
    @IBOutlet weak var menuButton: UIBarButtonItem!
    override func viewDidLoad() {
        super.viewDidLoad()

        if revealViewController() != nil {
            menuButton.target = revealViewController()
            menuButton.action = #selector(SWRevealViewController.revealToggle(_:))
            view.addGestureRecognizer(self.revealViewController().panGestureRecognizer())
        }
        
        // Do any additional setup after loading the view.
        
        leftBtn.setBackgroundImage(UIImage(named:"tag"), for: .normal)
        leftBtn.setTitle("XXXX", for: .normal)
        middeBtn.setBackgroundImage(UIImage(named:"tag"), for: .normal)
        middeBtn.setTitle("XXXXX", for: .normal)
        rightBtn.setBackgroundImage(UIImage(named:"tag"), for: .normal)
        rightBtn.setTitle("XXXXX", for: .normal)
        
        
    }

    @IBAction func leftBtnClicked(_ sender: Any) {
    }
    
    @IBAction func middleBtnClicked(_ sender: Any) {
    }
    
    @IBAction func rightBtnClicked(_ sender: Any) {
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
